package com.tanhua.dubbo.server.api;

import com.tanhua.dubbo.server.entity.Publish;
import com.tanhua.dubbo.server.vo.PageInfo;

public interface QuanZiApi {
    /**
     * 发布动态
     * @param publish
     * @return
     */
    boolean savePublish(Publish publish);

    /**
     * 查询动态
     *
     * @return
     */
    PageInfo<Publish> queryPublishList(Long userId, Integer page, Integer pageSize);
}
